package com.py.od.domain;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import org.springframework.data.annotation.Transient;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 仓库列表对象 bs_warehouse
 * 
 * @author ruoyi
 * @date 2024-11-25
 */
public class OdWarehouse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 仓库主键ID */
    @Excel(name = "仓库主键ID")
    private Long warehouseId;

    /** 仓库编号 */
    @Excel(name = "仓库编号")
    private String warehouseCode;

    /** 仓库名称 */
    @Excel(name = "仓库名称")
    private String warehouseName;

    /** 仓库容量 */
    @Excel(name = "仓库容量")
    private BigDecimal warehouseVessel;

    /** 库管部门 */
    @Excel(name = "库管部门")
    private String dept;

    /** 仓库主管 */
    @Excel(name = "仓库主管")
    private String manager;

    /** 仓库地址 */
    @Excel(name = "仓库地址")
    private String warehouseAddress;

    /** 排序 */
    @Excel(name = "排序")
    private Long warehouseSort;

    /** 仓库状态 */
    @Excel(name = "仓库状态")
    private String warehouseStatus;

    /** 仓库备注 */
    private String warehouseRemarks;

    /** 逻辑删除 */
    private String isDelete;

    /** 创建人 */
    @Excel(name = "创建人")
    private String crateBy;

    /** 创建时间 */
    private Date crateTime;

    /** 默认仓库 */
    private String isDefault;

    @Transient
    private Integer number;
    @Transient
    private Integer codeId;

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public Integer getCodeId() {
        return codeId;
    }

    public void setCodeId(Integer codeId) {
        this.codeId = codeId;
    }

    public void setWarehouseId(Long warehouseId)
    {
        this.warehouseId = warehouseId;
    }

    public Long getWarehouseId() 
    {
        return warehouseId;
    }
    public void setWarehouseCode(String warehouseCode) 
    {
        this.warehouseCode = warehouseCode;
    }

    public String getWarehouseCode() 
    {
        return warehouseCode;
    }
    public void setWarehouseName(String warehouseName) 
    {
        this.warehouseName = warehouseName;
    }

    public String getWarehouseName() 
    {
        return warehouseName;
    }
    public void setWarehouseVessel(BigDecimal warehouseVessel) 
    {
        this.warehouseVessel = warehouseVessel;
    }

    public BigDecimal getWarehouseVessel() 
    {
        return warehouseVessel;
    }
    public void setDept(String dept) 
    {
        this.dept = dept;
    }

    public String getDept() 
    {
        return dept;
    }
    public void setManager(String manager) 
    {
        this.manager = manager;
    }

    public String getManager() 
    {
        return manager;
    }
    public void setWarehouseAddress(String warehouseAddress) 
    {
        this.warehouseAddress = warehouseAddress;
    }

    public String getWarehouseAddress() 
    {
        return warehouseAddress;
    }
    public void setWarehouseSort(Long warehouseSort) 
    {
        this.warehouseSort = warehouseSort;
    }

    public Long getWarehouseSort() 
    {
        return warehouseSort;
    }
    public void setWarehouseStatus(String warehouseStatus) 
    {
        this.warehouseStatus = warehouseStatus;
    }

    public String getWarehouseStatus() 
    {
        return warehouseStatus;
    }
    public void setWarehouseRemarks(String warehouseRemarks) 
    {
        this.warehouseRemarks = warehouseRemarks;
    }

    public String getWarehouseRemarks() 
    {
        return warehouseRemarks;
    }
    public void setIsDelete(String isDelete) 
    {
        this.isDelete = isDelete;
    }

    public String getIsDelete() 
    {
        return isDelete;
    }
    public void setCrateBy(String crateBy) 
    {
        this.crateBy = crateBy;
    }

    public String getCrateBy() 
    {
        return crateBy;
    }
    public void setCrateTime(Date crateTime) 
    {
        this.crateTime = crateTime;
    }

    public Date getCrateTime() 
    {
        return crateTime;
    }
    public void setIsDefault(String isDefault) 
    {
        this.isDefault = isDefault;
    }

    public String getIsDefault() 
    {
        return isDefault;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("warehouseId", getWarehouseId())
            .append("warehouseCode", getWarehouseCode())
            .append("warehouseName", getWarehouseName())
            .append("warehouseVessel", getWarehouseVessel())
            .append("dept", getDept())
            .append("manager", getManager())
            .append("warehouseAddress", getWarehouseAddress())
            .append("warehouseSort", getWarehouseSort())
            .append("warehouseStatus", getWarehouseStatus())
            .append("warehouseRemarks", getWarehouseRemarks())
            .append("isDelete", getIsDelete())
            .append("crateBy", getCrateBy())
            .append("crateTime", getCrateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("isDefault", getIsDefault())
            .toString();
    }
}
